package com.sykj.cloud.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sykj.cloud.common.core.annotation.Excel;
import com.sykj.cloud.common.core.web.domain.BaseEntity;

/**
 * 系统应用定义对象 sys_application
 *
 * @author mr.will
 * @date 2021-03-15
 */
public class SysApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应用ID */
    private String guid;

    /** 组织机构ID */
    @Excel(name = "组织机构ID")

    private String organizationId;

    /** 名称 应用名称 */
    @Excel(name = "名称 应用名称")

    private String name;

    /** 简称 短名称 */
    @Excel(name = "简称 短名称")

    private String shortName;

    /** 描述 */
    @Excel(name = "描述")

    private String description;

    /** 短信通道ID */
    @Excel(name = "短信通道ID")

    private String smswayId;

    /** 文件服务器ID */
    @Excel(name = "文件服务器ID")

    private String fileServerId;

    /** 列表图 */
    @Excel(name = "列表图")

    private String listImage;

    /** 压题图 */
    @Excel(name = "压题图")

    private String faceImage;

    /** logo图 */
    @Excel(name = "logo图")

    private String logoImage;

    /** 应用类型 */
    @Excel(name = "应用类型")

    private Integer appType;

    /** 是否有效 */
    @Excel(name = "是否有效")

    private Integer isValid;

    /** 是否锁定 */
    @Excel(name = "是否锁定")

    private Integer isLock;

    /** 删除人 */
    @Excel(name = "删除人")

    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 是否已删除 */
    @Excel(name = "是否已删除")

    private Integer isDeleted;

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid()
    {
        return guid;
    }
    public void setOrganizationId(String organizationId)
    {
        this.organizationId = organizationId;
    }

    public String getOrganizationId()
    {
        return organizationId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setShortName(String shortName)
    {
        this.shortName = shortName;
    }

    public String getShortName()
    {
        return shortName;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setSmswayId(String smswayId)
    {
        this.smswayId = smswayId;
    }

    public String getSmswayId()
    {
        return smswayId;
    }
    public void setFileServerId(String fileServerId)
    {
        this.fileServerId = fileServerId;
    }

    public String getFileServerId()
    {
        return fileServerId;
    }
    public void setListImage(String listImage)
    {
        this.listImage = listImage;
    }

    public String getListImage()
    {
        return listImage;
    }
    public void setFaceImage(String faceImage)
    {
        this.faceImage = faceImage;
    }

    public String getFaceImage()
    {
        return faceImage;
    }
    public void setLogoImage(String logoImage)
    {
        this.logoImage = logoImage;
    }

    public String getLogoImage()
    {
        return logoImage;
    }
    public void setAppType(Integer appType)
    {
        this.appType = appType;
    }

    public Integer getAppType()
    {
        return appType;
    }
    public void setIsValid(Integer isValid)
    {
        this.isValid = isValid;
    }

    public Integer getIsValid()
    {
        return isValid;
    }
    public void setIsLock(Integer isLock)
    {
        this.isLock = isLock;
    }

    public Integer getIsLock()
    {
        return isLock;
    }
    public void setDeleteBy(String deleteBy)
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy()
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("guid", getGuid())
                .append("organizationId", getOrganizationId())
                .append("name", getName())
                .append("shortName", getShortName())
                .append("description", getDescription())
                .append("smswayId", getSmswayId())
                .append("fileServerId", getFileServerId())
                .append("listImage", getListImage())
                .append("faceImage", getFaceImage())
                .append("logoImage", getLogoImage())
                .append("appType", getAppType())
                .append("isValid", getIsValid())
                .append("isLock", getIsLock())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("deleteBy", getDeleteBy())
                .append("deleteTime", getDeleteTime())
                .append("isDeleted", getIsDeleted())
                .toString();
    }
}
